<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common-app/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.select_width{
   width:130px;
}
</style>

  



<div class="t_bar">
	<span class="color_red">*</span>4、目标项目情况
</div>

<table  id="aim_project_condition" border="0" cellspacing="0" cellpadding="0" class="table01 t_css" 
        style="table-layout: fixed; word-break: break-all; word-wrap: break-word" >
		<thead>
			<tr>
        <th width="5%" >选择</th>
        <th width="5%" >序号</th>
				<th width="20%">项目名称</th>
				<th width="10%">研发周期</th>
				<th width="30%">研发目标</th>
				<th width="30%">产业目标</th>
			</tr>
		</thead>
		<tbody id="tab">
			<tr style="display: none">
				<td  align="center"  width="50px" >
            <input type="radio" name="sel_aim_project_condition" onclick="setSubmitPrj()" /> 
                      <!--   技术水平 -->
            <input type="hidden" name="projects|project[0]|technology|lead_inland" /> 
            <input type="hidden" name="projects|project[0]|technology|lead_internation" /> 
            <input type="hidden" name="projects|project[0]|technology|advanced_internation" /> 
            <input type="hidden" name="projects|project[0]|technology|key_technology" /> 
                      <!--  成果表达形式 -->
            <input type="hidden" name="projects|project[0]|achievement_express|new_product" /> 
            <input type="hidden" name="projects|project[0]|achievement_express|new_craft" /> 
            <input type="hidden" name="projects|project[0]|achievement_express|new_equipment" /> 
            <input type="hidden" name="projects|project[0]|achievement_express|research_content" /> 
            
            <!-- <div style="display: none;">
      								<textarea name="projects|project[0]|achievement_express|task_devided"  class="  maxlength:300"  rows="5" style="width:93%"></textarea>
      				</div> -->
            
            <input type="hidden" name="projects|project[0]|achievement_express|task_devided" /> 
            <input type="hidden" name="projects|project[0]|achievement_express|task_devided_hidden" /> 
                      <!--    知识产权 -->
            <input type="hidden" name="projects|project[0]|intellectual_property|invention_patent" /> 
            <input type="hidden" name="projects|project[0]|intellectual_property|new_type" /> 
            <input type="hidden" name="projects|project[0]|intellectual_property|technology_standard" /> 
            <input type="hidden" name="projects|project[0]|intellectual_property|proprietary_brand" /> 
                      <!--  预期经济效益 -->
            <input type="hidden" name="projects|project[0]|economy_benefit|income" /> 
            <input type="hidden" name="projects|project[0]|economy_benefit|tax" /> 
        </td>
				<td align="center">
					<span name="projects|project[0]@seq_no">[index]</span>
				</td>
				<td align="center">
					<span name="projects|project[0]|project_name"></span>
				</td>
				<td align="center">
					<span name="projects|project[0]|research_period"></span>
				</td>
				<td align="center">
					<span  name="projects|project[0]|research_aim" ></span>
				</td>
				<td align="center">
					<span name="projects|project[0]|industry_aim"></span>
				</td>
				</tr>
       <c:set value="0" var="index" scope="page" />
			 <x:forEach select="$xmlData/data/projects/project" var="project">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
       <tr>
					<td  align="center"  width="50px" >
						<input type="radio" name="sel_aim_project_condition" onclick="setSubmitPrj()" />
						 <!--   技术水平 --> 
            <input type="hidden" name="projects/project[${flag}${index}]/technology/lead_inland" value="<x:out select="$project/technology/lead_inland" />"/>
            <input type="hidden" name="projects/project[${flag}${index}]/technology/lead_internation" value="<x:out select="$project/technology/lead_internation" />"/>
            <input type="hidden" name="projects/project[${flag}${index}]/technology/advanced_internation" value="<x:out select="$project/technology/advanced_internation" />"/>
            <input type="hidden" name="projects/project[${flag}${index}]/technology/key_technology" value="<x:out select="$project/technology/key_technology" />"/>
                        <!--  成果表达形式 -->
            <input type="hidden" name="projects/project[${flag}${index}]/achievement_express/new_product" value="<x:out select="$project/achievement_express/new_product" />"/>
            <input type="hidden" name="projects/project[${flag}${index}]/achievement_express/new_craft" value="<x:out select="$project/achievement_express/new_craft" />"/>
            <input type="hidden" name="projects/project[${flag}${index}]/achievement_express/new_equipment" value="<x:out select="$project/achievement_express/new_equipment" />"/>
            <input type="hidden" name="projects/project[${flag}${index}]/achievement_express/research_content" value="<x:out select="$project/achievement_express/research_content" />"/>
           
     				<%-- <!-- <div style="display: none;"> -->
     								<textarea name="projects/project[${flag}${index}]/achievement_express/task_devided"  class="  maxlength:300"  rows="5" style="width:93%"></textarea>
     		<!-- 		</div> --> --%>
          
            <input type="hidden" name="projects/project[${flag}${index}]/achievement_express/task_devided" value="<x:out select="$project/achievement_express/task_devided" />"/>
            <input type="hidden" name="projects/project[${flag}${index}]/achievement_express/task_devided_hidden" value="<x:out select="$project/achievement_express/task_devided_hidden" />"/>
                        <!--    知识产权 -->
            <input type="hidden" name="projects/project[${flag}${index}]/intellectual_property/invention_patent" value="<x:out select="$project/intellectual_property/invention_patent" />"/>
            <input type="hidden" name="projects/project[${flag}${index}]/intellectual_property/new_type" value="<x:out select="$project/intellectual_property/new_type" />"/>
            <input type="hidden" name="projects/project[${flag}${index}]/intellectual_property/technology_standard" value="<x:out select="$project/intellectual_property/technology_standard" />"/>
            <input type="hidden" name="projects/project[${flag}${index}]/intellectual_property/proprietary_brand" value="<x:out select="$project/intellectual_property/proprietary_brand" />"/>
                        <!--  预期经济效益 -->
            <input type="hidden" name="projects/project[${flag}${index}]/economy_benefit/income" value="<x:out select="$project/economy_benefit/income" />"/>
            <input type="hidden" name="projects/project[${flag}${index}]/economy_benefit/tax" value="<x:out select="$project/economy_benefit/tax" />"/>
          </td>
					<td align="center">
					<span name="projects/project[${flag}${index}]@seq_no">${index+1}</span>
					</td>
          <td align="center">
						<span name="projects/project[${flag}${index}]/project_name"><x:out select="$project/project_name" /></span>
					</td>
          <td align="center">
						<span name="projects/project[${flag}${index}]/research_period"><x:out select="$project/research_period" /></span>
					</td>
          <td align="center">
						<span name="projects/project[${flag}${index}]/research_aim"><x:out select="$project/research_aim" /></span>
					</td>
          <td align="center">
						<span name="projects/project[${flag}${index}]/industry_aim"><x:out select="$project/industry_aim" /></span>
					</td>
        </tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
			</tbody>
	</table>



    <table border="0" cellpadding="0" cellspacing="1">
		<tr>
			<td>
				<input class="button_02" type="button" value="添加" onclick="if(checkTabLimit('aim_project_condition',99,'目标项目情况最多只能填写20条')){addNewRow('aim_project_condition','${ctx}/proposal/edit/dialog/prjInfoEdit_zdkjxtcxt?parentTab=aim_project_condition&type=add&needMeetingInfo=${param.needMeetingInfo}&TB_iframe=true&height=440&width=900','添加目标项目情况');}try{top.resizeFrame();}catch(e){};">
				&nbsp;<input class="button_02"  id="zh_prjPrev" type="button" value="上移" onclick="movePrev('aim_project_condition');setSubmitPrj()">
				&nbsp;<input class="button_02"  id="zh_prjNext" type="button" value="下移" onclick="moveNext('aim_project_condition');setSubmitPrj()">
				&nbsp;<input class="button_02"  id="zh_prjEdit" type="button" value="编辑" onclick="editRow('aim_project_condition','${ctx}/proposal/edit/dialog/prjInfoEdit_zdkjxtcxt?parentTab=aim_project_condition&type=edit&needMeetingInfo=${param.needMeetingInfo}&TB_iframe=true&height=440&width=900','编辑目标项目情况')">
				&nbsp;<input class="button_02"  id="zh_prjDel" type="button" value="删除" onclick="deleteSelectedRow('aim_project_condition','目标项目情况');"></td>
		</tr>
	</table>




<div class="t_bar">
	<span class="color_red">*</span>5、研发团队组建目标
</div>
<table  id="basic_info8" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
<col style="width:20%">
<col style="width:30%">
<col style="width:20%">
<col style="width:30%">
<tr>
<td align="right">研发团队数量：</td>
<td colspan=""><input type="text"    label="研发团队数量"  name="build_aim/team_amount" id="team_amount"  class="required"  onfocus="InitInput.setNumber(this,7,0,0)"
                      style="text-align:right;width:80%;"  value="<x:out select="$xmlData/data/build_aim/team_amount" />" /></td>
<td align="right">研发人员数量：</td>
<td colspan=""><input type="text"    label="研发人员数量"  name="build_aim/people_amount" id="people_amount"  class="required"  onfocus="InitInput.setNumber(this,7,0,0)"
                      style="text-align:right;width:80%;"  value="<x:out select="$xmlData/data/build_aim/people_amount" />" /></td>
</tr>
<tr>
<td align="right">其中：固定研发人员：</td>
<td colspan=""><input type="text"    label="其中：固定研发人员"  name="build_aim/fixed_amount" id="fixed_amount"  class="required"  onfocus="InitInput.setNumber(this,7,0,0)"
                      style="text-align:right;width:80%;"  value="<x:out select="$xmlData/data/build_aim/fixed_amount" />" /></td>
<td align="right">其中：柔性研发人员：</td>
<td colspan=""><input type="text"    label="其中：柔性研发人员"  name="build_aim/flexed_amount" id="flexed_amount"  class="required"  onfocus="InitInput.setNumber(this,7,0,0)"
                      style="text-align:right;width:80%;"  value="<x:out select="$xmlData/data/build_aim/flexed_amount" />" /></td>
</tr>
</table>




<div class="t_bar">
	<span class="color_red">*</span>6、基础设施建设目标
</div>
<table  id="basic_info9" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
<col style="width:20%">
<col style="width:30%">
<col style="width:20%">
<col style="width:30%">
<tr>
<td align="right">研发土地落实情况：</td>
<td colspan=""><input type="text"    label="研发土地落实情况"  name="build_aim/land_condition" id="land_condition"  class="required" maxlength="20"
                      style="width:80%;"  value="<x:out select="$xmlData/data/build_aim/land_condition" />" /></td>
<td align="right">占地面积（㎡）：</td>
<td colspan=""><input type="text"    label="占地面积"  name="build_aim/floor_area" id="floor_area"  class="required"  onfocus="InitInput.setNumber(this,7,2,2)"
                      style="text-align:right;width:80%;"  value="<x:out select="$xmlData/data/build_aim/floor_area" />" /></td>
</tr>
<tr>
<td align="right">研发大楼建设情况：</td>
<td colspan=""><input type="text"    label="研发大楼建设情况"  name="build_aim/building_condition" id="building_condition"  class="required"  maxlength="20"
                      style="width:80%;"  value="<x:out select="$xmlData/data/build_aim/building_condition" />" /></td>
<td align="right">建筑面积（㎡）：</td>
<td colspan=""><input type="text"    label="建筑面积"  name="build_aim/structure_area" id="structure_area"  class="required"  onfocus="InitInput.setNumber(this,7,2,2)"
                      style="text-align:right;width:80%;"  value="<x:out select="$xmlData/data/build_aim/structure_area" />" /></td>
</tr>
</table>





<div class="t_bar">
	<span class="color_red">*</span>7、资金偿还及上市情况
</div>
<table  id="basic_info10" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
<col style="width:20%">
<col style="width:30%">
<col style="width:20%">
<col style="width:30%">
<tr>
<td align="right">溢价返还承诺：</td>
<td colspan=""><input type="text"    label="溢价返还承诺"  name="market_condition/promise" id="promise"  class="required"  maxlength="20"
                      style="width:80%;"  value="<x:out select="$xmlData/data/market_condition/promise" />" /></td>
<td align="right">计划引入风投及上市情况：</td>
<td colspan=""><input type="text"    label="计划引入风投及上市情况"  name="market_condition/investment" id="investment"  class="required"  maxlength="20"
                      style="width:80%;"  value="<x:out select="$xmlData/data/market_condition/investment" />" /></td>
</tr>
</table>





<script type="text/javascript">

function setSubmitPrj() {
	/* var tr = $("#zh_persons :radio:checked").parents("tr");
	if (tr.get(0).rowIndex - 1 == 1) {// 如果选择的是申报人
		$("#zh_psnPrev").attr("disabled", "true").css("color", "#808080");
		$("#zh_psnNext").attr("disabled", "true").css("color", "#808080");
		// $("#zh_psnEdit").attr("disabled","true").css("color","#808080");
		$("#zh_psnDel").attr("disabled", "true").css("color", "#808080");

	} else if (tr.get(0).rowIndex - 1 == 2) {// 如果是申报书的下一行
		$("#zh_psnPrev").attr("disabled", "true").css("color", "#808080");
		$("#zh_psnNext").removeAttr("disabled").css("color", "#003366");
		$("#zh_psnDel").removeAttr("disabled").css("color", "#003366");
	} else {
		$("#zh_psnPrev").removeAttr("disabled").css("color", "#003366");
		$("#zh_psnNext").removeAttr("disabled").css("color", "#003366");
		// $("#zh_psnEdit").removeAttr("disabled").css("color","#003366");
		$("#zh_psnDel").removeAttr("disabled").css("color", "#003366");
	}
 */
}

</script>




